package com.example.demo.service;

import com.example.demo.entity.User;

import java.util.List;

public interface UserService {
    User login(String username, String pwd);

    Boolean add(String username, String pwd, Integer age);

    List<User> getAllUser();

    String deleteUserByName(String username);

    String modifyUserByName(String username, String pwd, Integer age);

}
